package com.atguigu.memonto.theory;

/**
 * @program: design-patterns
 * @author: yangshen
 * @description: 备忘录对象，负责保存好记录，即Originator内部状态
 * @create: 2022-03-09 18:09
 **/
public class Memento {
    private String state;

    public Memento(String state) {
        this.state = state;
    }

    public String getState() {
        return state;
    }
}
